package com.study.dao;

import javax.persistence.EntityManager;

import com.google.inject.Inject;
import com.google.inject.Provider;

public class BaseDao {
	@Inject
	private Provider<EntityManager> em;
	
	protected EntityManager em() {
		return em.get();
	}
}
